package cn.itcast.service.impl;

import cn.itcast.dao.VehicleDao;
import cn.itcast.domain.Vehicle;
import cn.itcast.service.VehicleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VehicleServiceImpl  implements VehicleService{

    @Autowired
    private VehicleDao  vehicleDao;
    @Override
    public void save(Vehicle vehicle) {

        vehicleDao.save(vehicle);
    }
}
